//*****************************************************
//  pp2.12.java          Author:YanYuJun
//*****************************************************
 import java.util.Scanner;
 
 public class pp212
{
 
 public static void main(String[] args)
{
 double bianchang;

 double zhouchang,mianji;
 
 Scanner scan = new Scanner(System.in);
 
 System.out.println("Enter the number of bianchang :");
 
 bianchang = scan.nextDouble();
 
 zhouchang = bianchang * 4;
 
 mianji = bianchang * bianchang;
 
 System.out.println("zhouchang:" + zhouchang);
 
 System.out.println("mianji:" + mianji);
  }
}
